<extend name="Public/base" />
<block name="body">
	<!-- BEGIN PAGE CONTENT-->
	<div class="row">
		<div class="col-md-9">
			<form action="{:U('Config/save')}" method="post">
				<div class="tabbable tabbable-custom tabbable-full-width">
					<ul class="nav nav-tabs">
						<li class="active"><a href="#tab1" data-toggle="tab">基本设置 </a></li>
						<li><a href="#tab2" data-toggle="tab">用户配置</a></li>
						<li><a href="#tab3" data-toggle="tab">内容配置</a></li>
					</ul>

					<div class="tab-content">
						<div class="tab-pane active" id="tab1">
							<div class="form-group">
								<label class="control-label">网站标题</label>
								<input type="text" name="WEB_SITE_TITLE" value="{$Think.config.WEB_SITE_TITLE}" class="form-control input-large" />
							</div>
							<div class="form-group">
								<label class="control-label">网站关键词</label>
								<textarea name="WEB_SITE_KEYWORDS" class="form-control input-large">{$Think.config.WEB_SITE_KEYWORDS}</textarea>
							</div>
							<div class="form-group">
								<label class="control-label">网站描述</label>
								<textarea name="WEB_SITE_DESCRIPTION" class="form-control input-large">{$Think.config.WEB_SITE_DESCRIPTION}</textarea>
							</div>
							<div class="form-group">
								<label class="control-label">网站备案号</label>
								<input type="text" name="WEB_ICP" value="{$Think.config.WEB_ICP}" class="form-control input-large">
							</div>
							
							<div class="form-group">
								<label class="control-label">后台风格</label>
								<select name="SYSTEM_STYLE" class="form-control input-small">
									<option value="default" <eq name="Think.config.SYSTEM_STYLE" value="default"> selected="selected" </eq> >默认</option>
									<option value="purple" <eq name="Think.config.SYSTEM_STYLE" value="purple"> selected="selected" </eq> >紫色</option>
									<option value="blue" <eq name="Think.config.SYSTEM_STYLE" value="blue"> selected="selected" </eq> >蓝色</option>
									<option value="grey" <eq name="Think.config.SYSTEM_STYLE" value="grey"> selected="selected" </eq> >灰色</option>
									<option value="brown" <eq name="Think.config.SYSTEM_STYLE" value="brown"> selected="selected" </eq> >棕色</option>
									<option value="light" <eq name="Think.config.SYSTEM_STYLE" value="light"> selected="selected" </eq> >白色</option>
								</select>
							</div>
							<div class="form-group">
								<label  class="control-label">网站状态</label>
								<div class="radio-list">
									<label class="radio-inline">
										<input type="radio" value="0" name="WEB_SITE_STATUS" checked="checked" > 正常
									</label>
									<label class="radio-inline">
										<input type="radio" value="1" name="WEB_SITE_STATUS" <eq name="Think.config.WEB_SITE_STATUS" value="1">checked="checked"</eq>> 关闭
									</label>
								</div>
							</div>
						</div>
						<div class="tab-pane" id="tab2">
							<div class="form-group">
								<label class="control-label">会员注册</label>
								<div class="radio-list">
									<select name="WEB_SITE_REGISTER" class="form-control input-small">
										<option value="0">允许注册</option>
										<option value="1">禁止注册</option>
									</select>
								</div>
							</div>
						</div>
						<div class="tab-pane" id="tab3">
							<div class="form-group">
								<label  class="control-label">后台每页记录数</label>
								<input name="LIST_ROWS" value="{:C('LIST_ROWS')}" class="form-control input-small">
							</div>
						</div>
						<label  class="control-label"></label>
						<div class="margin-top-10">
							<button type="button" class="btn green ajax-post">确 认</button>
							<a href="javascript:" onclick="javascript:history.back(-1);return false;" class="btn default"> 返 回 </a>
						</div>
					</div>

				</div>
			</form>
		</div>
	</div> 
</block>